//
// Created by TATO on 2025/8/28.
//

#ifndef HTTPSERVER_IO_H
#define HTTPSERVER_IO_H
#include "http_multi_io.h"
// 切换IO模型
#ifdef SOCKET_SERVER_SELECT
#define IO_ADD_RD_EVENT SELECTRDNEW
#define IO_ADD_WT_EVENT SELECTWTNEW
#endif
#ifdef SOCKET_SERVER_POLL
#define IO_ADD_RD_EVENT POLLIN
#define IO_ADD_WT_EVENT POLLOUT
#endif
#ifdef SOCKET_SERVER_EPOLL
#define IO_ADD_RD_EVENT EPOLLIN
#define IO_ADD_WT_EVENT EPOLLOUT
#endif
#include "http_connect.h"

void http_listen_start_io(http_socket_event_loop_t *hset);
#endif //HTTPSERVER_IO_H
